import request from '@/utils/request'

export function importExcel(data) {
  return request({
    url: '/job/import',
    method: 'post',
    data: data,
  })
}

export function findList(params) {
  return request({
    url: '/job/list',
    method: 'get',
    params
  })
}

export function getDetail(id) {
  return request({
    url: '/job/'+id,
    method: 'get'
  })
}


export function deleted(id) {
  return request({
    url: '/job/'+id,
    method: 'delete'
  })
}
